[INFO] cloning repository https://github.com/golden-ocean/ocean-ddd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/golden-ocean/ocean-ddd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolden-ocean%2Focean-ddd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolden-ocean%2Focean-ddd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9aa6d01cc76d7993700f3d8ff9b79cadf9bc77ad
[INFO] fixing golden-ocean/ocean-ddd against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgolden-ocean%2Focean-ddd" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/golden-ocean/ocean-ddd
[INFO] finished tweaking git repo https://github.com/golden-ocean/ocean-ddd
[INFO] tweaked toml for git repo https://github.com/golden-ocean/ocean-ddd written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/golden-ocean/ocean-ddd on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/golden-ocean/ocean-ddd already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator_derive v0.20.0
[INFO] [stderr]   Downloaded validator v0.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0ef70953e8df02158a2fd4ceeaab502acc75f55982905ca3defa9951008b702e
[INFO] running `Command { std: "docker" "start" "0ef70953e8df02158a2fd4ceeaab502acc75f55982905ca3defa9951008b702e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0ef70953e8df02158a2fd4ceeaab502acc75f55982905ca3defa9951008b702e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ef70953e8df02158a2fd4ceeaab502acc75f55982905ca3defa9951008b702e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0ef70953e8df02158a2fd4ceeaab502acc75f55982905ca3defa9951008b702e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling typenum v1.20.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]    Compiling cmov v0.5.3
[INFO] [stderr]     Checking hybrid-array v0.4.12
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling rand_core v0.10.1
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling ctutils v0.4.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling typeid v1.0.3
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling hashlink v0.11.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking tinyvec v1.11.0
[INFO] [stderr]    Compiling rand v0.10.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling erased-serde v0.4.10
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling whoami v2.1.2
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking hmac v0.13.0
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking winnow v1.0.2
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking hkdf v0.13.0
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]     Checking md-5 v0.11.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking yaml-rust2 v0.10.4
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking rust-ini v0.21.3
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking serde_spanned v1.1.1
[INFO] [stderr]     Checking toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]     Checking toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking ron v0.12.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking serde-untagged v0.1.9
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]    Compiling validator_derive v0.20.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking toml v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking config v0.15.22
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling sqlx-core v0.9.0
[INFO] [stderr]     Checking validator v0.20.0
[INFO] [stderr]    Compiling sqlx-postgres v0.9.0
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]    Compiling sqlx-macros-core v0.9.0
[INFO] [stderr]    Compiling sqlx-macros v0.9.0
[INFO] [stderr]     Checking sqlx v0.9.0
[INFO] [stderr]     Checking shared v0.1.0 (/opt/rustwide/workdir/crates/shared)
[INFO] [stderr]     Checking sys v0.1.0 (/opt/rustwide/workdir/crates/sys)
[INFO] [stderr]     Checking org v0.1.0 (/opt/rustwide/workdir/crates/iam)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |           let po = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 52 | |             DictModel,
[INFO] [stdout] 53 | |             r#"SELECT * FROM sys_dict WHERE id = $1"#,
[INFO] [stdout] 54 | |             id.value
[INFO] [stdout] 55 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |           let po = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 65 | |             DictModel,
[INFO] [stdout] 66 | |             r#"SELECT * FROM sys_dict WHERE code = $1"#,
[INFO] [stdout] 67 | |             code.as_str()
[INFO] [stdout] 68 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |           let po = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 78 | |             DictModel,
[INFO] [stdout] 79 | |             r#"SELECT * FROM sys_dict WHERE name = $1"#,
[INFO] [stdout] 80 | |             name.as_str()
[INFO] [stdout] 81 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:92:9
[INFO] [stdout]     |
[INFO] [stdout]  92 | /         sqlx::query!(
[INFO] [stdout]  93 | |             r#"
[INFO] [stdout]  94 | |             INSERT INTO sys_dict (
[INFO] [stdout]  95 | |                 id, code, name, is_builtin, sort, remark, status,
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             model.updated_by
[INFO] [stdout] 118 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 | /         sqlx::query!(
[INFO] [stdout] 130 | |             r#"DELETE FROM sys_dict_item WHERE dict_id = $1"#,
[INFO] [stdout] 131 | |             dict_id.value
[INFO] [stdout] 132 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         sqlx::query!(r#"DELETE FROM sys_dict WHERE id = $1"#, dict_id.value)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let po = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 149 | |             DictItemModel,
[INFO] [stdout] 150 | |             r#"SELECT * FROM sys_dict_item WHERE id = $1"#,
[INFO] [stdout] 151 | |             id.value
[INFO] [stdout] 152 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 | /         sqlx::query!(
[INFO] [stdout] 163 | |             r#"
[INFO] [stdout] 164 | |             INSERT INTO sys_dict_item (
[INFO] [stdout] 165 | |                 id, dict_id, label, value, color, is_builtin, sort, remark, status,
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |             model.updated_by
[INFO] [stdout] 191 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         sqlx::query!(r#"DELETE FROM sys_dict_item WHERE id = $1"#, id.value)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: TryFrom<i16>` is not satisfied
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/model/dict_item_model.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             status: Status::try_from(po.status).expect("严重错误：DB中状态值损坏"),
[INFO] [stdout]    |                     ^^^^^^ the trait `From<i16>` is not implemented for `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFrom<i16>` is not implemented for `Status`
[INFO] [stdout]       but trait `TryFrom<&str>` is implemented for it
[INFO] [stdout]   --> crates/shared/src/types/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TryFrom<&str> for Status {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: for that trait implementation, expected `&str`, found `i16`
[INFO] [stdout]    = note: required for `i16` to implement `Into<Status>`
[INFO] [stdout]    = note: required for `Status` to implement `TryFrom<i16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: From<i16>` is not satisfied
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/model/dict_item_model.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             status: Status::try_from(po.status).expect("严重错误：DB中状态值损坏"),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<i16>` is not implemented for `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFrom<i16>` is not implemented for `Status`
[INFO] [stdout]       but trait `TryFrom<&str>` is implemented for it
[INFO] [stdout]   --> crates/shared/src/types/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TryFrom<&str> for Status {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: for that trait implementation, expected `&str`, found `i16`
[INFO] [stdout]    = note: required for `i16` to implement `Into<Status>`
[INFO] [stdout]    = note: required for `Status` to implement `TryFrom<i16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: TryFrom<i16>` is not satisfied
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/model/dict_model.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             status: Status::try_from(po.status).expect("严重错误：DB中状态值损坏"),
[INFO] [stdout]    |                     ^^^^^^ the trait `From<i16>` is not implemented for `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFrom<i16>` is not implemented for `Status`
[INFO] [stdout]       but trait `TryFrom<&str>` is implemented for it
[INFO] [stdout]   --> crates/shared/src/types/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TryFrom<&str> for Status {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: for that trait implementation, expected `&str`, found `i16`
[INFO] [stdout]    = note: required for `i16` to implement `Into<Status>`
[INFO] [stdout]    = note: required for `Status` to implement `TryFrom<i16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: From<i16>` is not satisfied
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/model/dict_model.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             status: Status::try_from(po.status).expect("严重错误：DB中状态值损坏"),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<i16>` is not implemented for `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFrom<i16>` is not implemented for `Status`
[INFO] [stdout]       but trait `TryFrom<&str>` is implemented for it
[INFO] [stdout]   --> crates/shared/src/types/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TryFrom<&str> for Status {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: for that trait implementation, expected `&str`, found `i16`
[INFO] [stdout]    = note: required for `i16` to implement `Into<Status>`
[INFO] [stdout]    = note: required for `Status` to implement `TryFrom<i16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |           let po = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 52 | |             DictModel,
[INFO] [stdout] 53 | |             r#"SELECT * FROM sys_dict WHERE id = $1"#,
[INFO] [stdout] 54 | |             id.value
[INFO] [stdout] 55 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |           let po = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 65 | |             DictModel,
[INFO] [stdout] 66 | |             r#"SELECT * FROM sys_dict WHERE code = $1"#,
[INFO] [stdout] 67 | |             code.as_str()
[INFO] [stdout] 68 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |           let po = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 78 | |             DictModel,
[INFO] [stdout] 79 | |             r#"SELECT * FROM sys_dict WHERE name = $1"#,
[INFO] [stdout] 80 | |             name.as_str()
[INFO] [stdout] 81 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:92:9
[INFO] [stdout]     |
[INFO] [stdout]  92 | /         sqlx::query!(
[INFO] [stdout]  93 | |             r#"
[INFO] [stdout]  94 | |             INSERT INTO sys_dict (
[INFO] [stdout]  95 | |                 id, code, name, is_builtin, sort, remark, status,
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             model.updated_by
[INFO] [stdout] 118 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 | /         sqlx::query!(
[INFO] [stdout] 130 | |             r#"DELETE FROM sys_dict_item WHERE dict_id = $1"#,
[INFO] [stdout] 131 | |             dict_id.value
[INFO] [stdout] 132 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         sqlx::query!(r#"DELETE FROM sys_dict WHERE id = $1"#, dict_id.value)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let po = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 149 | |             DictItemModel,
[INFO] [stdout] 150 | |             r#"SELECT * FROM sys_dict_item WHERE id = $1"#,
[INFO] [stdout] 151 | |             id.value
[INFO] [stdout] 152 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 | /         sqlx::query!(
[INFO] [stdout] 163 | |             r#"
[INFO] [stdout] 164 | |             INSERT INTO sys_dict_item (
[INFO] [stdout] 165 | |                 id, dict_id, label, value, color, is_builtin, sort, remark, status,
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |             model.updated_by
[INFO] [stdout] 191 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/sys/src/dictionary/infrastructure/persistence/dict_repo_impl.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         sqlx::query!(r#"DELETE FROM sys_dict_item WHERE id = $1"#, id.value)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sys` (lib) due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `Status: TryFrom<i16>` is not satisfied
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/model/dict_item_model.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             status: Status::try_from(po.status).expect("严重错误：DB中状态值损坏"),
[INFO] [stdout]    |                     ^^^^^^ the trait `From<i16>` is not implemented for `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFrom<i16>` is not implemented for `Status`
[INFO] [stdout]       but trait `TryFrom<&str>` is implemented for it
[INFO] [stdout]   --> crates/shared/src/types/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TryFrom<&str> for Status {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: for that trait implementation, expected `&str`, found `i16`
[INFO] [stdout]    = note: required for `i16` to implement `Into<Status>`
[INFO] [stdout]    = note: required for `Status` to implement `TryFrom<i16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: From<i16>` is not satisfied
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/model/dict_item_model.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             status: Status::try_from(po.status).expect("严重错误：DB中状态值损坏"),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<i16>` is not implemented for `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFrom<i16>` is not implemented for `Status`
[INFO] [stdout]       but trait `TryFrom<&str>` is implemented for it
[INFO] [stdout]   --> crates/shared/src/types/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TryFrom<&str> for Status {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: for that trait implementation, expected `&str`, found `i16`
[INFO] [stdout]    = note: required for `i16` to implement `Into<Status>`
[INFO] [stdout]    = note: required for `Status` to implement `TryFrom<i16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: TryFrom<i16>` is not satisfied
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/model/dict_model.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             status: Status::try_from(po.status).expect("严重错误：DB中状态值损坏"),
[INFO] [stdout]    |                     ^^^^^^ the trait `From<i16>` is not implemented for `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFrom<i16>` is not implemented for `Status`
[INFO] [stdout]       but trait `TryFrom<&str>` is implemented for it
[INFO] [stdout]   --> crates/shared/src/types/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TryFrom<&str> for Status {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: for that trait implementation, expected `&str`, found `i16`
[INFO] [stdout]    = note: required for `i16` to implement `Into<Status>`
[INFO] [stdout]    = note: required for `Status` to implement `TryFrom<i16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: From<i16>` is not satisfied
[INFO] [stdout]   --> crates/sys/src/dictionary/infrastructure/persistence/model/dict_model.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             status: Status::try_from(po.status).expect("严重错误：DB中状态值损坏"),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<i16>` is not implemented for `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFrom<i16>` is not implemented for `Status`
[INFO] [stdout]       but trait `TryFrom<&str>` is implemented for it
[INFO] [stdout]   --> crates/shared/src/types/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TryFrom<&str> for Status {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: for that trait implementation, expected `&str`, found `i16`
[INFO] [stdout]    = note: required for `i16` to implement `Into<Status>`
[INFO] [stdout]    = note: required for `Status` to implement `TryFrom<i16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `System` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |         .map_err(|e| AppError::System(e.to_string()))?;
[INFO] [stdout]    |                                ^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |         return Err(AppError::Business("用户名已被占用，请更换".into()));
[INFO] [stdout]    |                              ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:41:64
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let email_vo = Email::new(cmd.email).map_err(|e| AppError::Business(e.to_string()))?;
[INFO] [stdout]    |                                                                ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sys` (lib test) due to 13 previous errors
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:42:67
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mobile_vo = Mobile::new(cmd.mobile).map_err(|e| AppError::Business(e.to_string()))?;
[INFO] [stdout]    |                                                                   ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `password_hash` on type `CreateUserCommand`
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         cmd.password_hash,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `username`, `plain_password`, `salt`, `emp_no`, `name` ... and 4 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 62 |         UserRepoError::UsernameConflict => AppError::Business("该用户名已被注册".into()),
[INFO] [stdout]    |                                                      ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:63:51
[INFO] [stdout]    |
[INFO] [stdout] 63 |         UserRepoError::EmailConflict => AppError::Business("该邮箱已被注册".into()),
[INFO] [stdout]    |                                                   ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:64:51
[INFO] [stdout]    |
[INFO] [stdout] 64 |         UserRepoError::PhoneConflict => AppError::Business("该手机号已被注册".into()),
[INFO] [stdout]    |                                                   ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `System` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |         _ => AppError::System(e.to_string()),
[INFO] [stdout]    |                        ^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `System` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |         .map_err(|e| AppError::System(e.to_string()))?;
[INFO] [stdout]    |                                ^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |         return Err(AppError::Business("用户名已被占用，请更换".into()));
[INFO] [stdout]    |                              ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:41:64
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let email_vo = Email::new(cmd.email).map_err(|e| AppError::Business(e.to_string()))?;
[INFO] [stdout]    |                                                                ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:42:67
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mobile_vo = Mobile::new(cmd.mobile).map_err(|e| AppError::Business(e.to_string()))?;
[INFO] [stdout]    |                                                                   ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `password_hash` on type `CreateUserCommand`
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         cmd.password_hash,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `username`, `plain_password`, `salt`, `emp_no`, `name` ... and 4 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 62 |         UserRepoError::UsernameConflict => AppError::Business("该用户名已被注册".into()),
[INFO] [stdout]    |                                                      ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:63:51
[INFO] [stdout]    |
[INFO] [stdout] 63 |         UserRepoError::EmailConflict => AppError::Business("该邮箱已被注册".into()),
[INFO] [stdout]    |                                                   ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Business` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:64:51
[INFO] [stdout]    |
[INFO] [stdout] 64 |         UserRepoError::PhoneConflict => AppError::Business("该手机号已被注册".into()),
[INFO] [stdout]    |                                                   ^^^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `System` found for enum `AppError` in the current scope
[INFO] [stdout]   --> crates/iam/src/application/user/command/create_user.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |         _ => AppError::System(e.to_string()),
[INFO] [stdout]    |                        ^^^^^^ variant, associated function, or constant not found in `AppError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `org` (lib test) due to 9 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `org` (lib) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "0ef70953e8df02158a2fd4ceeaab502acc75f55982905ca3defa9951008b702e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ef70953e8df02158a2fd4ceeaab502acc75f55982905ca3defa9951008b702e", kill_on_drop: false }`
[INFO] [stdout] 0ef70953e8df02158a2fd4ceeaab502acc75f55982905ca3defa9951008b702e
